package com.mypg;

public class UserHistory {
    private int user_id;
    private String history_class;
    private int history_index;

    public UserHistory(){}
    public UserHistory(int user_id, String history_class, int history_index) {
        this.user_id = user_id;
        this.history_class = history_class;
        this.history_index = history_index;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public String getHistory_class() {
        return history_class;
    }

    public void setHistory_class(String history_class) {
        this.history_class = history_class;
    }

    public int getHistory_index() {
        return history_index;
    }

    public void setHistory_index(int history_index) {
        this.history_index = history_index;
    }

    @Override
    public String toString() {
        return "UserHistory{" +
                "user_id=" + user_id +
                ", history_class='" + history_class + '\'' +
                ", history_index=" + history_index +
                '}';
    }
}
